﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _8Group.MES.Model.PRO生产管理
{
    /// <summary>
    /// 工艺组成
    /// </summary>
    public class Pro_Route_Process : Entity<int>
    {

        /// <summary>
        /// ：工艺路线 ID
        /// </summary>
        public int RouteId { get; set; }
        /// <summary>
        /// ：工序 ID
        /// </summary>
        public int ProcessId { get; set; }
        /// <summary>
        /// 工序编号
        /// </summary>
        public string? ProcessCode { get; set; }
        /// <summary>
        ///工序名称
        /// </summary>
        public string? ProcessName { get; set; }
        /// <summary>
        ///：序号
        /// </summary>
        public int OrderNum { get; set; }
        /// <summary>
        /// 下一道工序 ID
        /// </summary>
        public int NextProcessId { get; set; }
        /// <summary>
        /// 下一道工序编号
        /// </summary>
        public string? NextProcessCode { get; set; }
        /// <summary>
        /// 下一道工序名称
        /// </summary>
        public string? NextProcessName { get; set; }
        /// <summary>
        /// 与下一道工序关系
        /// </summary>
        public string? LinkType { get; set; }
        /// <summary>
        /// 准备时间
        /// </summary>
        public int DefaultPreTime { get; set; }
        /// <summary>
        //：等待时间
        /// </summary>
        public int DefaultSufTime { get; set; }
        /// <summary>
        /// 甘特图颜色
        /// </summary>
        public string? ColorCode { get; set; }
        /// <summary>
        ///关键工序
        /// </summary>
        public string? KeyFlag { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        ///创建人
        /// </summary>
        public string? CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        public string? UpdateBy { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpDateTime { get; set; }
    }
}
